<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>国内折扣-商品详情</title>
    <link rel="stylesheet" href="./lib/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="./css/discountdetail.css">
</head>

<body>
    <!-- 头部B -->
    <header id="backtop">
        <div class="back">
            <a href="./inlanddiscount.html" class="fa fa-angle-left"></a>
        </div>
        <div class="title">国内折扣-商品详情</div>
        <div class="downloadapp">
            <a href="javascript:;">
                <img src="./images/header_app.png" alt="">
            </a>
        </div>
    </header>
    <!-- 头部E -->
    <div class="content">
        <!-- 占坑位置 -->
    </div>
    <!-- 底部部分开始 -->
    <footer>

        <div class="foot_user">
            <a href="javascript:;" class="foot_login">登录</a>
            <a href="javascript:;" class="foot_register">注册</a>
            <a href="#backtop" class="foot_return">
                <i class="fa fa-arrow-up"></i>
                返回顶部
            </a>
        </div>
        <div class="foot_text">
            <div class="text_box">
                <span class="text_sp">手机APP下载</span>
                <span class="text_sp">慢慢买手机版</span>
                <span class="text_sp">--掌上比价平台</span>
            </div>
            <p>m.manmanbuy.com</p>
        </div>
    </footer>
    <!-- 底部部分结束 -->
</body>
<script src="./lib/zepto/zepto.js"></script>
<script src="./lib/arttemplate/template-web.js"></script>
<script src="./js/discountdetail.js"></script>

</html>
<script type="text/template" id="infoTemp">
    {{each data val}}
    <h3 class='title'>{{val.productName}}</h3>
    <h4>{{val.productPrice}}</h4>
    <p>{{val.productFrom}} {{val.productTime}} {{val.productTips}}</p>
    <div class="info">
        <div class="img">{{@ val.productImg}}</div>
        <div class="txt">{{val.productInfo}}</div>
    </div>
    <a href="javascript:;" class='tobuy'>前往购买</a>
    <div style="text-align: center; margin: 20px 10px;">
        <img src="images/mmbweixin2.png" style="width: 100%; height: auto;">
    </div>
    <div class="comment">
        {{@ val.productComment}}
    </div>
    {{/each}}
</script>